package com.lizemin.mybatis.mapper;


import com.lizemin.mybatis.entity.Teacher;
import org.apache.ibatis.annotations.Param;

/**
 * @author lzm
 * @date 2025/5/18 21:18
 * @description
 */

public interface TeacherMapper {

    Teacher getTeacher(@Param("id") Integer id);

    int insert(@Param("teacher") Teacher teacher);

    int update(@Param("teacher") Teacher teacher);

    int deleteById(@Param("id") int id);
}
